<table width=95% align=center>
	<thead>
		<tr>
			<th align=left width=15%>Genre</th>
			<th align=left>Artist</th>
			<th align=left>Title</th>
		</tr>
	</thead>
	<tbody>
		<?php
			$list = mysqli_query($db,"SELECT * FROM youplay ORDER BY artist, title ASC");
			while($entry = mysqli_fetch_assoc($list))	{
				echo "<tr>";
					echo "<td align=left>".htmlspecialchars($entry["genre"])."</td>";
					echo "<td align=left>".htmlspecialchars($entry["artist"])."</td>";
					echo "<td align=left><a href='index.php?id=".$entry["id"]."'>".htmlspecialchars($entry["title"])."</a></td>";
				echo "</tr>";
														}
		?>
	</tbody>
</table>